import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Navpage = lazy(() => import('../../views/zhu/navpage'))
let User= lazy(() => import("../../views/cui/UserList"))
let Biao= lazy(() => import("../../views/cui/biaoqian"))
let Baogao= lazy(() => import("../../views/cui/baogao"))
let Dengji= lazy(() => import("../../views/cui/dengji"))
let Fuwu= lazy(() => import("../../views/cui/fuwu"))
let Useradd= lazy(() => import("../../views/cui/useradd"))
let Socket= lazy(() => import("../../views/cui/socket"))
let Yong= lazy(() => import("../../views/cui/yonghu"))
let Fwadd= lazy(() => import("../../views/cui/fuwuadd"))
let Cui = [
    {
        path: "/zhu/navpage",
        element: <Navpage></Navpage>,
        children: [
          {
            path:'userList',
            element: <User></User>
          },
          {
            path:'biaoqian',
            element:<Biao></Biao>
          },
          {
            path:'baogao',
            element:<Baogao></Baogao>
          },
          {
            path:'dengji',
            element:<Dengji></Dengji>
          },
          {
            path:'fuwu',
            element:<Fuwu></Fuwu>
          },
          {
            path:"fuwuadd",
            element:<Fwadd></Fwadd>
          },
          {
            path:'useradd',
            element:<Useradd></Useradd>
          },
          {
            path:'socket',
            element:<Socket></Socket>
          },
          {
            path:'yonghu',
            element:<Yong></Yong>
          }
        ]
    },
   
]

export default Cui